#ifndef SUBTASKS_H
#define SUBTASKS_H

#include <QWidget>
#include "subtasksModel.h"

namespace Ui {
class SubTasks;
}

class SubTasks : public QWidget
{
    Q_OBJECT

public:
    SubTasks(QWidget *parent = 0);
    void update_win ();
    SubModel *subMod;
    int task_num;
    QString task_name;
    ~SubTasks();

private slots:
    void on_delField_clicked();

    void on_addField_clicked();

    void on_retBtn_clicked();

private:
    Ui::SubTasks *uim;
};

#endif // SUBTASKS_H
